<template>
  <view>
    用户
    <button open-type="getUserInfo" @getuserinfo="getuserinfo">一件登录</button>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        getuserinfo(info) {
          console.log(info)
        }
      };
    }
  }
</script>

<style lang="scss">

</style>
